@code {
    [Parameter] public string? Title { get; set; }
    [Parameter] public bool IsWaiting { get; set; }
    [Parameter] public EventCallback OnClick { get; set; }
    [Parameter] public RenderFragment? ChildContent { get; set; }
}

<BitButton AutoLoading
           Title="@Title"
           OnClick="OnClick"
           Size="BitSize.Small"
           IsEnabled="IsWaiting is false"
           Class="social-button"
           Variant="BitVariant.Fill"
           ButtonType="BitButtonType.Button"
           Color="BitColor.SecondaryBackground">
    @ChildContent
</BitButton>
